package com.pap.itemfeignapi.dto;

import com.pap.base.entity.PapBaseEntity;

import java.io.Serializable;
import java.math.BigDecimal;

public class ItemSkuDTO extends PapBaseEntity implements Serializable {
    /**
     *  商品SKU编号,所属表字段为t_item_sku.ITEM_SKU_ID
     */
    private String itemSkuId;

    /**
     *  商品SKU编码,所属表字段为t_item_sku.ITEM_SKU_CODE
     */
    private String itemSkuCode;

    /**
     *  商品SKU名称,所属表字段为t_item_sku.ITEM_SKU_NAME
     */
    private String itemSkuName;

    /**
     *  所属货品编号,所属表字段为t_item_sku.ITEM_PRODUCT_ID
     */
    private String itemProductId;

    /**
     *  商品SKU库存量,所属表字段为t_item_sku.ITEM_STOCK_NUM
     */
    private Integer itemStockNum;

    /**
     *  商品SKU价格,所属表字段为t_item_sku.ITEM_PRICE
     */
    private BigDecimal itemPrice;

    /**
     *  备注,所属表字段为t_item_sku.REMARK
     */
    private String remark;

    /**
     *  顺序号,所属表字段为t_item_sku.SEQ_NO
     */
    private Integer seqNo;

    /**
     *  可用状态标示(Y可用/N不可),所属表字段为t_item_sku.DISABLE_FLAG
     */
    private String disableFlag;

    @Override
    public String getDynamicTableName() {
        return "t_item_sku";
    }

    private static final long serialVersionUID = 1L;

    public String getItemSkuId() {
        return itemSkuId;
    }

    public void setItemSkuId(String itemSkuId) {
        this.itemSkuId = itemSkuId;
    }

    public String getItemSkuCode() {
        return itemSkuCode;
    }

    public void setItemSkuCode(String itemSkuCode) {
        this.itemSkuCode = itemSkuCode;
    }

    public String getItemSkuName() {
        return itemSkuName;
    }

    public void setItemSkuName(String itemSkuName) {
        this.itemSkuName = itemSkuName;
    }

    public String getItemProductId() {
        return itemProductId;
    }

    public void setItemProductId(String itemProductId) {
        this.itemProductId = itemProductId;
    }

    public Integer getItemStockNum() {
        return itemStockNum;
    }

    public void setItemStockNum(Integer itemStockNum) {
        this.itemStockNum = itemStockNum;
    }

    public BigDecimal getItemPrice() {
        return itemPrice;
    }

    public void setItemPrice(BigDecimal itemPrice) {
        this.itemPrice = itemPrice;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getSeqNo() {
        return seqNo;
    }

    public void setSeqNo(Integer seqNo) {
        this.seqNo = seqNo;
    }

    public String getDisableFlag() {
        return disableFlag;
    }

    public void setDisableFlag(String disableFlag) {
        this.disableFlag = disableFlag;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", itemSkuId=").append(itemSkuId);
        sb.append(", itemSkuCode=").append(itemSkuCode);
        sb.append(", itemSkuName=").append(itemSkuName);
        sb.append(", itemProductId=").append(itemProductId);
        sb.append(", itemStockNum=").append(itemStockNum);
        sb.append(", itemPrice=").append(itemPrice);
        sb.append(", remark=").append(remark);
        sb.append(", seqNo=").append(seqNo);
        sb.append(", disableFlag=").append(disableFlag);
        sb.append("]");
        return sb.toString();
    }
}